import request from '@/utils/request'

// 查询澳洲开奖记录管理列表
export function listLuckRecord(query) {
  return request({
    url: '/system/luckRecord/list',
    method: 'get',
    params: query
  })
}

// 查询澳洲开奖记录管理详细
export function getLuckRecord(recordId) {
  return request({
    url: '/system/luckRecord/' + recordId,
    method: 'get'
  })
}

// 新增澳洲开奖记录管理
export function addLuckRecord(data) {
  return request({
    url: '/system/luckRecord',
    method: 'post',
    data: data
  })
}

// 修改澳洲开奖记录管理
export function updateLuckRecord(data) {
  return request({
    url: '/system/luckRecord',
    method: 'put',
    data: data
  })
}

// 删除澳洲开奖记录管理
export function delLuckRecord(recordId) {
  return request({
    url: '/system/luckRecord/' + recordId,
    method: 'delete'
  })
}

// 导出澳洲开奖记录管理
export function exportLuckRecord(query) {
  return request({
    url: '/system/luckRecord/export',
    method: 'get',
    params: query
  })
}